<div class="mainbox">
    {{#each goods}}
    <div class="sitem">
        <div class="stitle">{{_id}}</div>
        <div class="item">
            <div class="imgset">
                <img src="{{preview_img_url}}?imageView/1/w/130" />
            </div>
            <div class="gminfo">
                <div class="text">
                    {{goods_name}}
                </div>
                <div class="price">价格：￥{{price}}</div>
            </div>
        </div>
        <div class="item">
            <sbutton shadownum1="0 0 10px 1px" shadownum2="0 0 6px 0" text="修改信息" class="btn" event-click="{{'$Top.$Event.update_goods'}}"></sbutton>
            <sbutton shadownum1="0 0 10px 1px" shadownum2="0 0 6px 0" text="删除" class="btn" event-click="{{'$Top.$Event.remove_goods'}}"></sbutton>
        </div>
    </div>
    {{/each}}
    <div>
        {{#if isloading}}
        <div class="icon-spinner">加载中</div>
        {{#else}}
        <sbutton shadownum1="0 0 10px 1px" shadownum2="0 0 6px 0" text="{{ismore&&'没有更多商品了'||'更多商品'}}" class="btn" event-click="{{'$Event.to_down'}}"></sbutton>
        {{/if}}
    </div>
</div>
